<?php

use think\facade\Route;

Route::group('withdraw', function () {
    // 需登陆
    Route::group(function () {
        Route::get('/', 'api.Withdraw/index');
        Route::get('rules', 'api.Withdraw/rules');
        Route::post('apply', 'api.Withdraw/apply');
    })->middleware('check_login', 'user');
});
